<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../tpl/head.jsp"%>

<div id="LAY_app" class="layui-fluid" style="min-width: 1650px;overflow: auto;">
    <dl class="layui-row layui-col-space15">
        <dd class="layui-col-md4">
            <div class="layui-card">
                <div class="layui-card-header">
                    快捷方式
                </div>
                <div class="layui-card-body">
                    <div class="layui-carousel   layadmin-backlog">
                        <ul class="layui-row layui-col-space10 sk_card">
<Rolue:operate operateID="systemcenter_newcustomer" roleID="systemcenter_newcustomer" mark="测试 ">
                            <li class="layui-col-xs3">
                                <a lay-href="views/jsp/BasicData/tpl/customerinfo.jsp">
                                    <i class="layui-icon layui-icon-file-b"></i>
                                    <cite>新增客户</cite>
                                </a>
                            </li>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_newsuplier" roleID="systemcenter_newsuplier" mark="测试 ">
                            <li class="layui-col-xs3">
                                <a lay-href="views/jsp/BasicData/tpl/customer2info.jsp">
                                    <i class="layui-icon layui-icon-search"></i>
                                    <cite>新增供应商</cite>
                                </a>
                            </li>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_newcustomerinof" roleID="systemcenter_newcustomerinof" mark="测试 ">
                            <li class="layui-col-xs3">
                                <a lay-href="views/jsp/BasicData/customercenter.jsp">
                                    <i class="layui-icon layui-icon-username"></i>
                                    <cite>客户资料</cite>
                                </a>
                            </li>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_suplier" roleID="systemcenter_suplier" mark="测试 ">
                            <li class="layui-col-xs3">
                                <a lay-href="views/jsp/BasicData/customercenter2.jsp">
                                    <i class="layui-icon layui-icon-friends"></i>
                                    <cite>供应商</cite>
                                </a>
                            </li>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_newbaojia" roleID="systemcenter_newbaojia" mark="测试 ">
                            <li class="layui-col-xs3">
                                <a lay-href="views/jsp/ExportBusiness/tpl/newupoffer.jsp">
                                    <i class="layui-icon layui-icon-console"></i>
                                    <cite>新增报价</cite>
                                </a>
                            </li>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_newwaixiao" roleID="systemcenter_newwaixiao" mark="测试 ">
                            <li class="layui-col-xs3">
                                <a lay-href="views/jsp/ExportBusiness/tpl/newupexport.jsp">
                                    <i class="layui-icon layui-icon-note"></i>
                                    <cite>新增外销</cite>
                                </a>
                            </li>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_newcaigou" roleID="systemcenter_newcaigou" mark="测试 ">
                            <li class="layui-col-xs3">
                                <a lay-href="views/jsp/ExportBusiness/tpl/newupprocurement.jsp?types=0">
                                    <i class="layui-icon layui-icon-note"></i>
                                    <cite>新增采购</cite>
                                </a>
                            </li>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_newchuyun" roleID="systemcenter_newchuyun" mark="测试 ">
                                <li class="layui-col-xs3">
                                <a lay-href="views/jsp/ExportBusiness/tpl/newupshipmentdetails.jsp">
                                    <i class="layui-icon layui-icon-note"></i>
                                    <cite>新增出运</cite>
                                </a>
                            </li>
</Rolue:operate>
                        </ul>
                    </div>
                </div>
<Rolue:operate operateID="systemcenter_mail" roleID="systemcenter_mail" mark="测试 ">
                <div class="layui-card-header border-top">
                    邮件汇总
                </div>

                <div class="layui-card-body">
                    <div class="layui-carousel  layadmin-backlog">
                        <ul class="layui-row layui-col-space10 layui-this">
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/email/index.jsp?id=1" class="layadmin-backlog-body">
                                    <h3>今日收到邮件</h3>
                                    <p id="nowGetEmail"></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/email/index.jsp?id=2" class="layadmin-backlog-body">
                                    <h3>今日发送邮件</h3>
                                    <p id="nowSendEmail"></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/email/index.jsp?id=3" class="layadmin-backlog-body">
                                    <h3>今日未读邮件</h3>
                                    <p id="nowGetEmailNo"></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/email/write.jsp" class="layadmin-backlog-body">
                                    <h3>新建邮件</h3>
                                    <p><i class="layui-icon" style="font-size: 30px;">&#xe618;</i></p>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_customer" roleID="systemcenter_customer" mark="测试 ">
                <div class="layui-card-header border-top">
                    客户汇总
                </div>
                <div class="layui-card-body">
                    <div class="layui-carousel  layadmin-backlog">
                        <ul class="layui-row layui-col-space10 layui-this">
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter.jsp?flag=kzt&type=1" class="layadmin-backlog-body">
                                    <h3>本月新增客户</h3>
                                    <p><cite id="byxzkh">66</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter.jsp?flag=kzt&type=2" class="layadmin-backlog-body">
                                    <h3>30天未联系客户</h3>
                                    <p><cite id="wlx30">99</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter.jsp?flag=kzt&type=4" class="layadmin-backlog-body">
                                    <h3>即将放入公共池客户</h3>
                                    <p><cite id="wlx85">20</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter.jsp?flag=kzt&type=3" class="layadmin-backlog-body">
                                    <h3>60天未联系客户</h3>
                                    <p><cite id="wlx60">99</cite></p>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_suplier" roleID="systemcenter_suplier" mark="测试 ">
                <div class="layui-card-header border-top">
                    供应商汇总
                </div>
                <div class="layui-card-body">
                    <div class="layui-carousel  layadmin-backlog">
                        <ul class="layui-row layui-col-space10 layui-this">
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter2.jsp?flag=kzt&type=1" class="layadmin-backlog-body">
                                    <h3>本月新增合作供应商-化妆品</h3>
                                    <p><cite id="suplierType2">66</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter2.jsp?flag=kzt&type=1" class="layadmin-backlog-body">
                                    <h3>本月新增合作供应商-营养品</h3>
                                    <p><cite id="suplierType1">66</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter2.jsp?flag=kzt&type=4" class="layadmin-backlog-body">
                                    <h3>本月新增潜在供应商-化妆品</h3>
                                    <p><cite id="suplierType4">99</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/customercenter2.jsp?flag=kzt&type=3" class="layadmin-backlog-body">
                                    <h3>本月新增潜在供应商-营养品</h3>
                                    <p><cite id="suplierType3">20</cite></p>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
</Rolue:operate>
<Rolue:operate operateID="systemcenter_other" roleID="systemcenter_other" mark="测试 ">
                <div class="layui-card-header border-top">
                    其它汇总
                </div>
                <div class="layui-card-body">
                    <div class="layui-carousel  layadmin-backlog">
                        <ul class="layui-row layui-col-space10 layui-this">
                            <li class="layui-col-xs6">
                                <a id="ksBtn" lay-href="views/jsp/other/customercomplaint.jsp" class="layadmin-backlog-body">
                                    <h3>本月客诉单据</h3>
                                    <p><cite id="ksNum">0</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/other/drawings.jsp" class="layadmin-backlog-body">
                                    <h3>本月图纸单据</h3>
                                    <p><cite id="tzNum">0</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a id="billA" lay-href="views/jsp/Money/makeoutaninvoice.jsp" class="layadmin-backlog-body">
                                    <h3>本月开票单据</h3>
                                    <p id="billNum"></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/BasicData/message.jsp" class="layadmin-backlog-body">
                                    <h3>本月消息总述</h3>
                                    <p><cite>20</cite></p>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </dd>
 </Rolue:operate>
<Rolue:operate operateID="systemcenter_business" roleID="systemcenter_business" mark="测试 ">
        <dd class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">业务汇总</div>
                <div class="layui-card-body">
                    <div class="layui-carousel  layadmin-backlog">
                        <ul class="layui-row layui-col-space10 layui-this">
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/ExportBusiness/task.jsp?type=statistics" lay-text="本月备货合同数量" class="layadmin-backlog-body">
                                    <h3>本月备货合同数量</h3>
                                    <p><cite id="taskBillNoThisMonth">66</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/other/pollingdisc.jsp" class="layadmin-backlog-body">
                                    <h3>本月询盘数量</h3>
                                    <p><cite id="xpNum">0</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/ExportBusiness/shipmentdetails.jsp?type=statistics" lay-text="本月出运单据" class="layadmin-backlog-body">
                                    <h3>本月出运单据</h3>
                                    <p><cite id="carryBillNoThisMonth">99</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/Money/collection.jsp?type=statistics" lay-text="本月待认领水单" class="layadmin-backlog-body">
                                    <h3>本月待认领水单</h3>
                                    <p><cite id="receivePaymentBillNoThisMonth">20</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a lay-href="views/jsp/ExportBusiness/export.jsp?type=statistics" lay-text="本月外销合同数量" class="layadmin-backlog-body">
                                    <h3>本月外销合同数量</h3>
                                    <p><cite id="exportBillNoThisMonth">20</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a class="layadmin-backlog-body">
                                    <h3>本月外销合同总额USD </h3>
                                    <p><cite id="exportUSDTotalContractAmountThisMonth">1,113.98 </cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a class="layadmin-backlog-body">
                                    <h3>本月报价成交率</h3>
                                    <p><cite id="offerTurnoverRateThisMonth">0.00%; </cite></p>
                                </a>
                            </li>
                            <li class="layui-col-xs6">
                                <a class="layadmin-backlog-body">
                                    <h3>本月报价总额USD</h3>
                                    <p><cite id="offerUSDTotalContractAmountThisMonth">16,486.76 </cite></p>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
 </Rolue:operate>
<Rolue:operate operateID="systemcenter_WX" roleID="systemcenter_WX" mark="测试 ">
                <div class="layui-card-header">外销合同交期详情</div>
                <%--<div class="layui-card-header">
                    <button class="layui-btn layui-btn-sm layui-btn-submit" lay-submit="" lay-filter="exportData" style="margin-left: 10px">导出Excel</button>
                </div>--%>
                <div class="layui-card-body">
                    <table class="layui-table" id="exportcontract" lay-filter="exportcontract"></table>
                </div>
            </div>
 </Rolue:operate>
        </dd>
        <dd class="layui-col-md2">
            <div class="layui-card">
                <div class="layui-card-header">审批中心</div>
                <div class="layui-card-body">
                    <table class="layui-table" id="examination" lay-filter="examination" ></table>
                </div>
               <%-- <div class="layui-card-header" style="display: flex;align-items: center;justify-content: space-between;">本月业务外销合同金额排名（USD）实时数据 <button class="layui-btn layui-btn-xs" onclick="zkqp()">展开全屏</button></div>
                <div id="zzt" style="height: 325px"></div>--%>
            </div>
<Rolue:operate operateID="systemcenter_WXPM" roleID="systemcenter_WXPM" mark="测试 ">
            <div class="layui-card">
                <div class="layui-card-header" style="display: flex;align-items: center;justify-content: space-between;">业务外销合同金额排名
                    <i class="layui-icon layui-icon-screen-full" lay-active="e1" lay-tips="全屏" onclick="zkqp()"></i>
                </div>
                <div id="zzt" style="height: 325px"></div>
            </div>
</Rolue:operate>
        </dd>

    </dl>
    <!-- 2 -->
</div>
<script type="text/html" id="exportcontracteditor">
    <button class="layui-btn layui-btn-xs" lay-event="view">查看</button>
</script>
<script type="text/html" id="examinationeditor">
    <button class="layui-btn layui-btn-xs" lay-event="view">查看审批</button>
</script>
<style>
    .sk_card {
        text-align: center
    }

    .sk_card li:hover {
        background: #eee
    }

    .sk_card i {
        display: block;
        font-size: 30px;
        padding: 15px 0;
    }

    .layadmin-carousel {
        height: auto !important;
    }
    .layadmin-backlog .layadmin-backlog-body{
        padding: 2px 15px;
    }
    .layui-card-body{
        line-height: 18px;
    }
    .layui-table thead tr{
        background: none;
    }
</style>
<%@ include file="../tpl/foot.jsp"%>
<script src="statics/js/SystemCenter/SystemCenter.js"></script>